package com.example.analysis.service;

import com.example.analysis.domain.ScoreInfo;
import com.example.analysis.domain.SemesterStatistic;
import com.example.analysis.entity.Election;
import com.example.analysis.entity.ElectionList;
import com.example.analysis.entity.PageBean;
import com.example.analysis.utils.Response;
import com.example.analysis.entity.Class;
import com.example.analysis.utils.Response1;

import java.util.List;

public interface ElectionService {

    Response<Election> insert(Election aElectionList);
    Response<Election> getById(String ElectionListId,String subId);
    Response<Election> getByName(String ElectionListName);

    PageBean getAll(Integer pageNum, Integer pageSize);


    List<ScoreInfo> getData();


    List<ScoreInfo> getCourse(String semester);

    List<Class> getByClassId(String subId);

    List<ScoreInfo> getSelectAll(String selectCourseId, String selectClassId);

    List<ScoreInfo> getList(ScoreInfo scoreInfo);

    List<ScoreInfo> diffClass(ScoreInfo scoreInfo);

    List<SemesterStatistic> diffSemester(ScoreInfo scoreInfo);
}
